<!-- 购物车 -->
<template>
	<view class="MyCart">
		<u-navbar bgColor="#7bb7fd" :placeholder="true" :autoBack="true" leftIconColor="#fff" leftText="返回" leftIconSize="30rpx">
			<view class="nav-center-slot" slot="center">
				购物车
			</view>
		</u-navbar>
		<u-empty mode="car" icon="http://cdn.uviewui.com/uview/empty/car.png" marginTop="22vh">
			<u-button type="primary" text="查看更多商品" style='height: 30px;margin-top: 10px;' @click="gotoSort"></u-button>
		</u-empty>



		<!-- 置顶按钮 -->
<!-- 		<xrzp-Istop></xrzp-Istop> -->
		<!-- 底部选项卡 -->
		<xrzp-FootTabbar></xrzp-FootTabbar>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			gotoSort(){
				uni.navigateTo({
					url: `/pages/Sort/Sort`
				});
			}
		}
	}
</script>

<style lang="scss" scoped>
	.MyCart {
		.nav-center-slot {
			font-size: 34rpx;
			font-weight: bold;
		}
	}
</style>
